package com.training.action.chenhao;

import com.opensymphony.xwork2.ActionSupport;
import com.training.pojo.chengshu.UUser;
import com.training.service.chenhao.EmpService;

public class ComfireEditAction extends ActionSupport{
    private EmpService empser;
    private UUser emp;
    private String deptid;
	public String execute(){
		System.out.println("deptid:"+deptid+"   "+emp.getUid());
		empser.changeemp(emp.getUid(), emp, deptid);
    	 return SUCCESS;
     }
	public EmpService getEmpser() {
		return empser;
	}
	public void setEmpser(EmpService empser) {
		this.empser = empser;
	}
	public UUser getEmp() {
		return emp;
	}
	public void setEmp(UUser emp) {
		this.emp = emp;
	}
	public String getDeptid() {
		return deptid;
	}
	public void setDeptid(String deptid) {
		this.deptid = deptid;
	}
	
}
